public class StateHandler
{
    public StateHandler(){
        NetMsgHandler.Instance.RegisterReq(NetMsgID.ScNtfStates, HandleNtfStates);
    }

    private void HandleNtfStates(byte[] buff)
    {
        SC_NtfStates data = NetPacket.Deserialize<SC_NtfStates>(buff);
        EventMgr.Instance.SendEvent(EventType.OnNtfStates, data);
    }
}